package com.example.demo.pojo;

import java.io.Serializable;

public class Messages implements Serializable {
    String msg;
    String username;
    int port;

    public Messages(String msg, String username, int port) {
        this.msg = msg;
        this.username = username;
        this.port = port;
    }

    public Messages(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public String getUsername() {
        return username;
    }

    public int getPort() {
        return port;
    }
}
